<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page import="com.diligreat.cache.Cache,java.util.HashMap" %>
<%@ include file="/WEB-INF/static/headerindex.jsp" %>
<div id="search">
	<div class="stitle">搜索结果</div>
	<c:if test="${not empty contentList}">
		<c:forEach items="${contentList}" var="cl" varStatus="status">
			<div class="each">
				<div class="title"><a href="article.htm?pageid=${cl.id}">${cl.title}</a></div>
				<div class="content">${fn:replace(fn:replace(cl.content,"<p>",""),"</p>","")}</div>
			</div>
		</c:forEach>
	</c:if>
</div>
<%@ include file="/WEB-INF/static/footer.jsp" %>